package meeting.department.employee;

import meeting.department.AbstractPart;

public class Employee extends AbstractPart{
    private String name;
    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public void accept(String meeting) {
        System.out.println("员工" + name + "收到了通知" + meeting);
    }

    public Employee(String name){
        this.name = name;
    }
}
